#ifndef LIBACCENT_ALGORITHMS_FIND_HPP
#define LIBACCENT_ALGORITHMS_FIND_HPP

#include "accent/algorithms/drop_while.hpp"

namespace accent
{

  template <typename ForwardRange, typename Predicate>
  typename ForwardRange::position find(ForwardRange r, Predicate p)
  {
    return drop_until(r, p).front_position();
  }

}

#endif
